package com.itheima.api.integer.demo01;

public class IntegerDemo01 {

    public static void main(String[] args) {

        String s = "45";

        Integer i = Integer.valueOf(s);

        int a = i.intValue();
        System.out.println(a);

        System.out.println("----------------------------");

        String s1 = "56";
        int b = Integer.parseInt(s1);
        System.out.println(b);

    }

}
